isInstanceOf

fun isInstanceOf(obj: Any, vararg classes: Class<*>?): Boolean

Checks whether supplied class isinstance of any of the supplied (multiple classes)...

Author

Stuart Beesley

Since

MD2024(5100)

Return

true if obj isinstance to any of the supplied classes

Parameters

obj

the object to check

classes

the classes to check against